<template>
  <div>
    <div class="suc">
      <i class="iconfont icon-queren"></i>
      <span>商品已成功加入购物车！</span>
    </div>
    <el-row id="order">
      <el-col
        :span="8"
        v-for="(o, index) in 1"
        :key="o"
        :offset="index > 0 ? 2 : 0"
        class="order"
      >
        <el-card :body-style="{ padding: '0px' }">
          <img
            src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png"
            class="image"
          />
          <div class="msg" style="padding: 14px;">
            <i class="iconfont icon-mendian1"></i>
            <span
              style="margin-left: 1px; font-size: 20px; font-family: fantasy;"
            >
              <!-- 商家 -->
              <b>
                华麦基汉堡店
              </b>
            </span>
            <a
              href="/all"
              style="
                color: rgb(125, 125, 125);
                margin-left: 10px;
                font-size: 25px;
              "
            >
              >
            </a>
            <br />
            <br />
            <!-- 商品简介 -->
            <span
              style="
                margin-left: 1px;
                font-size: 19px;
                color: rgb(52, 52, 52);
                font-family: cursive;
              "
            >
              老八秘制蟹黄堡，既实惠又管饱，来点小鸟伏特加。
            </span>
            <br />
            <br />
            <!-- 商品规格 -->
            <span
              style="
                margin-left: 1px;
                font-size: 15px;
                color: rgb(125, 125, 125);
                font-family: cursive;
              "
            >
              老八秘制套餐+小食+中可
            </span>
            <br />
            <br />
            <span
              style="
                margin-left: 1px;
                font-size: 15px;
                color: rgb(125, 125, 125);
                font-family: cursive;
              "
            >
              数量: 1
            </span>
          </div>
          <div class="bottom clearfix">
            <a href="/all">
              <el-button class="button" round>
                查看商品详情
              </el-button>
            </a>
            <a href="/shoppingCart">
              <el-button class="button" round>
                去购物车结算
              </el-button>
            </a>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>
<style>
.suc {
  font-size: 22px;
  margin-top: 10px;
}
.suc i {
  margin-right: 5px;
  margin-left: 50px;
}
.iconfont {
  font-size: 25px;
  color: rgb(0, 204, 0);
}
.order {
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: 20px !important;
  width: 97vw !important;
  float: left;
}
.msg {
  float: left;
}
.el-card img {
  width: 210px !important;
  border: none !important;
  padding: 5px;
  float: left;
}
.clearfix {
  float: right;
  margin-top: 5.5%;
  margin-right: 20px;
}
.clearfix .button {
  margin-left: 20px;
  text-align: center;
}
</style>
